
import {apiService } from '@/http'

//获取路由
export function getRouters() {
    return apiService('/getRouters','','get')
}
//获取用户信息

export function loginByUsername() {
    return apiService('/loginByUsername','','get')
}

export function getUserInfo() {
    return apiService('/getUserInfo','','get')
}

//视频列表
export function videoList() {
    return apiService('/video/list','','get')
}

//视频新增
export function videoAdd() {
    return apiService('/video/add','','get')
}

//视频修改
export function videoEdit() {
    return apiService('/video/edit','','get')
}

//视频详情
export function videoDetail() {
    return apiService('/video/detail','','get')
}



//视频列表
export function ysConfigList() {
    return apiService('/ysConfig/list','','get')
}

//视频新增
export function ysConfigAdd() {
    return apiService('/ysConfig/add','','get')
}

//视频修改
export function ysConfigEdit() {
    return apiService('/ysConfig/edit','','get')
}

//视频详情
export function ysConfigDetail() {
    return apiService('/ysConfig/detail','','get')
}
